<?php
include("include/conn.php");
require('include/Smarty/libs/Smarty.class.php');
if($_GET['vepaariBookDetailId'] != '')
{
 echo $vepaaribillDetail    = "DELETE FROM vepaaribilldetail
                            WHERE vepaariBookDetailId	 = ".$_GET['vepaariBookDetailId'];
  $vepaaribillDetailRes = mysql_query($vepaaribillDetail);
  if(!$vepaaribillDetailRes)
  {
    echo "DELETING FAILED";
  }
else
 {
   header("Location:vepaariBookListNew.php");
 }
}
?>